package cn.chen.design;

public enum Singleton3 {

    INSTANCE;

    public void say(){
        System.out.println("hello instance");
    }

}

class Main{
    public static void main(String[] args) {
        Singleton3.INSTANCE.say();
    }
}
